package com.junjie.dao;

import com.junjie.entity.RCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RConditionDao {

    //万能查询接口
    List<RCondition> getRConditions(RCondition rCondition);

    //根据 id 来查询房间情况
    RCondition getRConditionByIdRIdStatus(@Param("id") Integer id, @Param("rId") Integer rId, @Param("status") Integer status);

    //插入一条房间情况的信息
    int insertRCondition(RCondition rCondition);

    //修改和删除一条数据的方法
    int updateAndDeleteRCondition(RCondition rCondition);

}
